<template>

    <div class="imgBox">
      <img :src="base64Img" alt="">
    </div>


</template>
<script>


import request from "@/utils/request";

export default {
  data() {
    return {
      base64Img:"",
      prefix: 'data:image/png;base64,'

    };
  },
  methods: {
    getQrcode() {
      request({
        url: '/system/login/qrcode',
        method: 'get',
      }).then(res=>{
        console.log(res)
        this.base64Img = res
      })
    }

  },
  mounted() {
    this.getQrcode();
  }
};
</script>

